<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Skeleton</title>
    <style>
        .content {
            width: 200px;
            height: 20px;
            background:red ;
        }
        .content:empty{
            background: grey
        }
    </style>
</head>
<body>



<div class="skeleton" style="margin:30px">
    <div class="content">我有文本内容呢</div>
    <div class="content"></div>
</div>
</body>
</html>
